#{extends 'main.html' /}
#{set title:'Salao Tads' /}
#{stylesheet 'style.css'/}


<head>

<script language="JavaScript"> 
function pergunta(){ 
   if (confirm('Deseja Confirmar?')){ 
      document.f.submit() 
   } 
} 
</script>
</head>
<body>
<div id="Content"> <!--Container -->

	<div id="Header">
     
   		<div id="menuforms">
       <form name="f" action = "inserir_cliente">
<br>	
	<table>
<input type="hidden" name="c.tipo" value ="Cliente"/>
<tr>
<td colspan="2" >Cadastro de Clientes</td>
</tr> 
<tr><td>Nome Completo</td><td><input type="text" name="c.nome" /></td><tr>
<tr><td>Endereço</td><td><input type="text" name="c.endereco" /></td><tr>
<tr><td>Telefone</td><td><input type="text" name="c.telefone" /></td><tr>
<tr><td>cpf</td><td><input type="text" name="c.cpf" /></td><tr>
<tr><td>Login</td><td><input type="text" name="c.login" /></td><tr>
<tr><td>Senha</td><td><input type="password" name="c.senha" /></td><tr>

<tr><td><input type="button" onclick="pergunta()" value="Cadastrar"/></td><td>
</table>
</form>
        
</div>    
        
  
    <div id="footer">
 <li> 
   <div align="center"><a href="/secure/logout">Encerrar Sessao</a></div>
 </li> 
</div>

</body>
</html>